package com.bsg.upm.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bsg.upm.entity.MonitorResourceEntity;

/**
 * 
 * @author HCK
 *
 */
public interface MonitorResourceDao extends CrudDao<MonitorResourceEntity> {

	/**
	 * 获取指定时间戳和站点的资源监控信息
	 * 
	 * @param timestamp
	 *            时间戳
	 * @param siteId
	 *            站点编码
	 * @return
	 */
	MonitorResourceEntity getByTimestampAndSiteId(@Param("timestamp") Long timestamp, @Param("siteId") String siteId);

	List<MonitorResourceEntity> listByTimestampAndSiteId(@Param("timestamp") Long timestamp, @Param("siteId") String siteId);
}
